<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ page import="java.io.*,java.util.*"%>
<%@ page import="java.util.Map"%>
<%@ page import="xm.web.servelet.upload"%>
<%
	upload up = new upload();
	String msg = up.receive(request);
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	<h1>
		<%=msg%>
	</h1>
	<ul>
		<%
			for (String item : up.files) {
		%>
		<li><p>
				<b>网址：</b>
				<%=item%>
			</p></li>
		<%
			}
		%>
	</ul>
	显示收到的字段
	<ul>
		<%
			for (Map.Entry<String, String> entry : up.map.entrySet()) {
		%>
		<li><p>
				<%=entry.getKey()%>=<%=entry.getValue()%>
			</p></li>
		<%
			}
		%>
	</ul>
</body>
</html>